﻿@model InfoLogic.Models.Product

@{
    ViewBag.Title = "Details";
}

<ul data-role="listview" data-inset="true">
        <li data-role="list-divider"> @Html.DisplayFor(model => model.productName)</li>
       
        <li>
            Selling Price:  @Html.DisplayNameFor(model => model.sellingPrice)
        </li>
        <li>
            Purchase Price:  @Html.DisplayFor(model => model.purchasePrice)

        </li>
        <li>
            Quantity On Hand: @Html.DisplayFor(model => model.quantityOnHand) 

        </li>
    </ul>

@*<h2>Details</h2>

<fieldset>
    <legend>Product</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.productName)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.productName)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.purchasePrice)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.purchasePrice)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.sellingPrice)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.sellingPrice)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.quantityOnHand)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.quantityOnHand)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ProductId }) |
    @Html.ActionLink("Back To Business(es)", "Index","Business")
</p>*@
